﻿using com.nm.Attributes;
using System.ComponentModel;

namespace BaseAPI.model
{
    public class DownListModel
    {
        /// <summary>
        /// 大类信息
        /// </summary>
        public class KindInfo
        {
            [ParamDescription("编号")]
            public string KindID { get; set; }
            [ParamDescription("名称")]
            public string KindName { get; set; }
        }

        /// <summary>
        /// 性别信息
        /// </summary>
        public class SexInfo
        {
            [ParamDescription("编号")]
            public string SexId { get; set; }
            [ParamDescription("名称")]
            public string SexName { get; set; }
        }

        /// <summary>
        /// 小类/细类信息
        /// </summary>
        [Description("小类/细类信息")]
        public class ItemInfo
        {
            /// <summary>
            /// 是否家具
            /// </summary>
            [ParamDescription("是否家具")]
            public long? IsHome { get; set; }
            /// <summary>
            /// 小类编号
            /// </summary>
            [ParamDescription("小类编号")]
            public string ItemID { get; set; }
            /// <summary>
            /// 小类名称
            /// </summary>
            [ParamDescription("小类名称")]
            public string ItemorSub { get; set; }
        }
        /// <summary>
        /// 货号
        /// </summary>
        public class MaterialInfo
        {
            [ParamDescription("货号")]
            public string MaterialID { get; set; }
        }

        /// <summary>
        /// 供应商
        /// </summary>
        public class ShortInfo
        {
            [ParamDescription("供应商内码")]
            public string VendCustID { get; set; }
            [ParamDescription("供应商名称")]
            public string ShortName { get; set; }
        }
    }
}
